<!-- BEGIN FOOTER-->
		<div id="footer">
			<div id="footer_inside">
				<ul id="footernav">
                                    <li><a href="/">Trang chủ</a></li>
                                    <li><a href="#" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('<?php echo $config['domain'];?>');">Đặt làm trang chủ</a></li>
                                    <?php
                                        $menu = getCategoryByParentId();
                                        $i=0;
                                        while($rs=$DB->fetch_array($menu)){
                                   ?>
                                    <li><a href="/cata/<?php echo $rs['link'];?>"><?php echo $rs['name'];?></a></li>
                                   <?php
                                        }
                                   ?>
                                   <li class="last"><a href="/rss">RSS <img src="<?php echo $config ['client_images_url'];?>/ico_rss14.gif" alt="RSS" /></a></li>
				</ul>
				<address>Bantinnhadat.vn - Kênh thông tin Bất Động Sản. Email: info@bantinnhadat.vn .</address>
			</div>
		</div>
		<!-- END FOOTER-->
	</div>
        <script type="text/javascript">
            $(document).ready(function(){
                //*********************Menu*************
                <?php
                    if($_SESSION['clientActiveMenu']=='cata' || $_SESSION['clientActiveMenu']=='detail'){
                ?>
                        $("#menu_<?php echo $_SESSION['pathWay'];?>").attr('class','current');
                <?php
                    }elseif($_SESSION['clientActiveMenu']=='tag'){
                    ?>
                    $("#menu_home").attr('class','current');
                    $("#tagPath").html($("#tagTitle").html());
                    
                    <?php
                }elseif($_SESSION['clientActiveMenu']=='archives'){
                ?>
                    $("#menu_home").attr('class','current');
                    $("#luuTruPath").html($("#luuTruTitle").html());
                <?php
                }elseif($_SESSION['clientActiveMenu']=='rss'){
                ?>
                    $("#menu_home").attr('class','current');
                <?php
                }elseif($_SESSION['clientActiveMenu']=='topread'){
                ?>
                    $("#menu_home").attr('class','current');
                <?php
                }elseif($_SESSION['clientActiveMenu']=='search'){
                ?>
                    $("#menu_home").attr('class','current');
                <?php
                }else{
                ?>
                        $("#menu_<?php echo $_SESSION['clientActiveMenu'];?>").attr('class','current');
                <?php }?>
                
                //******************END Menu*************
            });
        </script>
         <script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-10520431-1");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html>